package com.bike.mapper;

import com.bike.dto.TreeDto;
import com.bike.entity.SysRole;
import java.util.List;
import com.bike.util.PageData;
import com.github.miemiedev.mybatis.paginator.domain.PageBounds;

public interface SysRoleMapper {
    int deleteByPrimaryKey(Long roleId);

    int insertSelective(SysRole record);

    SysRole selectByPrimaryKey(Long roleId);

    int updateByPrimaryKeySelective(SysRole record);

	List<SysRole> selectByPage(PageData pd, PageBounds pageBounds);
	
	List<SysRole> selectAll(PageData pd);

	List<TreeDto> selectTreeDtoAll(PageData pageData);

	SysRole selectByName(String role);
}